#include "rjm32f10x.h"
#include "sys.h"
#include "gpio.h"
#include "delay.h"
#include "sleep.h"
#include "exti.h"

int main(void)
{
	system_init();  //时钟初始化  96MHZ
	gpio_init();
	LED1 = 1;
	exti_init();
	sleep_init();
	
  while(1)
	{
		LED2 = 1;
		LED3 = 1;
		delay_ms(100);
		LED2 = 0;
		LED3 = 0;
		delay_ms(100);
	}
}
